﻿using System.Collections.Generic;

namespace Resn.WhuPub.BIL
{
        /// <summary>
        ///定义联系人管理器的属性和方法
        /// </summary>
        public interface IContactManager
        {
                /// <summary>
                ///获取联系人集合
                /// </summary>
                /// <value>
                ///联系人集合
                /// </value>
                List<IContact> Contacts { get; }

                #region 方法

                /// <summary>
                ///创建联系人
                /// </summary>
                /// <param name="name">名称</param>
                /// <returns>
                ///创建的联系人对象
                /// </returns>
                IContact CreateContact(string departmentId, string name, string title = "", string duty = "", string telephone = "",
                                       string qq = "", string email = "", bool isOwnAuthor = false, string memo = "");


                #endregion 方法
        }
}